import { Image, ImageViewer } from 'antd-mobile';

export default function(props) {
  const { data: src } = props.msgContent;
  const showImage = () => {
    ImageViewer.show({ image: src });
  }
  return <Image lazy onClick={showImage} src={src} />;
}